﻿using System.Web.Mvc;
using N2.Web;
using N2.Web.Mvc;

namespace Dinamico.Controllers
{
	[Controls(typeof(Models.ContentPage))]
    public class ContentPagesController : ContentController<Models.ContentPage>
    {

        public override ActionResult Index()
        {
            if (CurrentItem != null)
            {
                return View(CurrentItem.TemplateKey, CurrentItem);
            }
            return Content("");
        }
    }
}
